<?php


namespace App\Admin\Actions;


use Dcat\Admin\Grid\RowAction;

/**
 * 调到子列表
 * Class SubTableAction
 * @package App\Admin\Actions
 */
class SubTableAction extends RowAction
{
    /**
     * @var string
     */
    protected $href;

    public function href(): string
    {
        return $this->href;
    }

    public function __construct(string $title ,string $url)
    {
        parent::__construct($title);

        $this->href = $url;
    }
}
